package com.book.app.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * (Users)表实体类
 *
 * @author wjy
 * @since 2021-09-22 08:48:13
 */
@SuppressWarnings("serial")
@ApiModel
@Data
public class Users  implements Serializable{
    @ApiModelProperty(hidden = true)
    @TableId
    private Integer uid;
    @ApiModelProperty(value = "密码",required = true,dataType = "integer",example = "666666")
    private String password;
    @ApiModelProperty(value = "用户名称",required = true,dataType = "integer",example = "苏菲")
    private String uname;
    @ApiModelProperty(value = "头像",required = true,dataType = "integer",example = "http://xxxx.xxx.jpg")
    private String images;
    @ApiModelProperty(hidden = true)
    //0表示启用、1禁用状态
    private Integer stats;
    @ApiModelProperty(hidden = true)
    @TableLogic
    private Integer deleted;
    @ApiModelProperty(hidden = true)
    private String createtime;
    @ApiModelProperty(hidden = true)
    private String modifytime;
    }

